package com.zhf.bean;

import java.io.Serializable;

/**
 * @Author: ZhaoHuanfeng
 * @Date: 2020/10/16 23:19
 */
public class Administrator implements Serializable {
    private static final long serialVersionUID = -5725931160395469948L;

    private int id;
    private String username;
    private String password;

    public Administrator() {
    }

    public Administrator(String userName, String password) {
        this.username = userName;
        this.password = password;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserName() {
        return username;
    }

    public void setUserName(String userName) {
        this.username = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "Administrator{" +
                "userName='" + username + '\'' +
                ", password='" + password + '\'' +
                '}';
    }
}
